package com.yanmaohu.yulia.bean;

/**
 * @author Bright Lee
 */
public final class DropTransformElementList implements AlterTransformAction {

    private int beginIndex;
    private int endIndex;
    private TransformKind transformKind1;
    private TransformKind transformKind2;
    private DropBehavior dropBehavior;

    public DropTransformElementList(int beginIndex,
                                    int endIndex,
                                    TransformKind transformKind1,
                                    TransformKind transformKind2,
                                    DropBehavior dropBehavior) {
        this.beginIndex = beginIndex;
        this.endIndex = endIndex;
        this.transformKind1 = transformKind1;
        this.transformKind2 = transformKind2;
        this.dropBehavior = dropBehavior;
    }

    @Override
    public int getBeginIndex() {
        return beginIndex;
    }

    @Override
    public int getEndIndex() {
        return endIndex;
    }

    public TransformKind getTransformKind1() {
        return transformKind1;
    }

    public TransformKind getTransformKind2() {
        return transformKind2;
    }

    public DropBehavior getDropBehavior() {
        return dropBehavior;
    }

}
